#ifndef _H_GATHER_DATA_HANDLER_M
#define _H_GATHER_DATA_HANDLER_M
#include "FreeRTOS.h"
//第一个结构体装采集的原始数据
typedef struct GatherData
{
    u8 temp;
    u8 humi;
    u16 smoke;
    u16 sunshine;
    u16 raidrop;
}GatherData;
//第二个结构体装处理后的数据
typedef struct GatherDataTarget
{
    u8 temp;
    u8 humi;
    u16 smoke;
    u16 sunshine;
    u16 raidrop;
}GatherDataTarget;

//处理数据
void handlerData(GatherData *data);

#endif